package com.du.entity;

import com.du.enums.RenderSelectItem;

/**
 * @Desc :
 * @Author: shuangdu
 * @date : 2024/4/29
 */
public class RenderSelectClz extends SelectClz<RenderSelectItem> {

    public RenderSelectClz(int key, RenderSelectItem item) {
        super(key, item);
    }

    public static RenderSelectClz fromEnum (RenderSelectItem e) {
        return new RenderSelectClz(e.key, e);
    }

    public String toString() {
        return (getE()).name;
    }
}
